﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using TodoApp.TodoOrdesDTO;

namespace TodoApp
{
  public  interface IGoodsOrdesService : Volo.Abp.Application.Services.IApplicationService
    {
        /// <summary>
        ///  多表联查 订单 显示 
        /// </summary>
        /// <returns></returns>
        /// 

        Task<List<TodoOrdesGoodsDTo>> GetLIstShow();



        /// <summary>
        ///  删除
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        Task DeleteAsync(int id );
        /// <summary>
        /// 添加 
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        Task<string> InsertAsync(TodoGoodsOrdesAddDTO model );
        /// <summary>
        ///  显示普通 订单 
        /// </summary>
        /// <returns></returns>
        Task<List<TodoGoodsOrdesShowDTO>> GetLIst();


    }
}
